<extend name="Public/base"/>
<block name="body">
    <div class="main-title" style="padding-bottom: 10px;">
        <h2>进销存报表</h2>
    </div>
    <div class="cf">
        <div class="fl">
            <form method='POST' action="{:U('ExportJXC')}" id="form-export">
                <input type="hidden" name="overallnum" value="{$overallNum}"/>
                <a class="btn btn-default" href="javascript:;" id="ExportSubmit">导出</a>
            </form>
        </div>
    </div>
    <div class="data-table table-striped">
        <table>
            <thead>
            <tr>
                <th class="row-selected row-selected"><input class="check-all" type="checkbox"/></th>
                <th>商品ID</th>
                <th>商品名称</th>
                <th>商品编号</th>
                <th>上期结存</th>
                <th>入库</th>
                <th>退订货</th>
                <th>门店线下销售</th>
                <th>线上配货</th>
                <th>退货</th>
                <th>线上退换货入库</th>
                <th>盘点</th>
                <th>报损</th>
                <th>报增</th>
                <th>使用</th>
                <th>差异</th>
            </tr>
            </thead>
            <tbody>
            <notempty name="_list">
                <volist name="_list" id="vo">
                    <tr>
                        <td><input class="ids" type="checkbox" name="id[]" value=""/></td>
                        <td>{$vo[0]}</td>
                        <td>{$vo[1]}</td>
                        <td>{$vo[2]}</td>
                        <td>{$vo[3]}</td>
                        <td>{$vo[4]}</td>
                        <td>{$vo[5]}</td>
                        <td>{$vo[6]}</td>
                        <td>{$vo[7]}</td>
                        <td>{$vo[8]}</td>
                        <td>{$vo[9]}</td>
                        <td>{$vo[10]}</td>
                        <td>{$vo[11]}</td>
                        <td>{$vo[12]}</td>
                        <td>{$vo[13]}</td>
                        <td>{$vo[14]}</td>
                    </tr>
                </volist>
                <else/>
                <td colspan="15" class="text-center"> aOh! 暂时还没有内容!</td>
            </notempty>
            </tbody>
        </table>
    </div>
</block>

<block name="script">
    <script src="__STATIC__/thinkbox/jquery.thinkbox.js"></script>

    <script type="text/javascript">
        $('#ExportSubmit').click(function () {
            document.getElementById("form-export").submit();
        });
        //导航高亮
        highlight_subnav('{:U('SpReport/overalldaliy')}');
    </script>
</block>